<!DOCTYPE html>
<!--[if IE 6]>
<html class="ie6" dir="ltr" lang="zh-CN">
<![endif]-->
<!--[if IE 7]>
<html class="ie7" dir="ltr" lang="zh-CN">
<![endif]-->
<!--[if IE 8]>
<html class="ie8" dir="ltr" lang="zh-CN">
<![endif]-->
<!--[if !(IE 6) | !(IE 7) | !(IE 8)  ]><!-->
<html dir="ltr" lang="zh-CN">
<!--<![endif]-->
<head>
<meta charset="UTF-8" />
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
<meta name="viewport" content="width=device-width" />
<link rel="stylesheet" type="text/css" href="http://q.115.com/static/css/reset.css"/>
<title>test core</title>
<style type="text/css">

</style>
</head>
<body class="demo">
<div>sdfsdfsdf</div>
<div>sdfsdf</div>
<script src="http://q.115.com/static/js/jquery_min.js"></script>
<script src="../source/core/core.js"></script>
<script src="../source/widget/widget.js"></script>
<script src="../source/button/button.js"></script>
<script>
   var btns = new Simple.Button({
   		container:document.body,
   		items:{
   			'ok':function(){
   				console.log('ok');
   			},
   			'cancel':function(){
   				console.log('cancel');
   			}
   			
   		}
   });
   btns.disable(0);
</script>
</body>
</html>